<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // do{
        //     // 循环体
        // } while (条件表达式)
        // 和while不同的地方是，do while先执行再判断
        var i = 1;
        do {
            console.log('how are you');
            i++;
        } while (i <= 100);
    </script>
</body>

</html>